package cn.kgc.git1032.demo01.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RequestMapping("/chen")
@RestController
public class ChenController {
    @RequestMapping("/")
    public String index(){
        return "chen";
    }
    @RequestMapping("/chen")
    public String chen(){
        return "admin";
    }
}
